зеркало из https://github.com/mozilla/pluotsorbet.git
specify a single fs root and set the memory card file: URL to it
This commit is contained in:
Родитель
07067cfd9d
Коммит
142fb1c788
|
@ -9,13 +9,11 @@ var RECORD_STORE_BASE = "/RecordStore";
|
|||
// and System.getProperty to provide inquiring midlets with the list. Each root
|
||||
// must have a trailing slash. See FileSystemRegistry.listRoots for more info.
|
||||
MIDP.fsRoots = [
|
||||
"MemoryCard/",
|
||||
"/",
|
||||
];
|
||||
// The names here should be localized.
|
||||
MIDP.fsRootNames = [
|
||||
"Memory card",
|
||||
"Phone memory",
|
||||
];
|
||||
|
||||
function getAbsolutePath(jPath) {
|
||||
|
|
|
@ -90,7 +90,7 @@ Native.create("java/lang/System.getProperty0.(Ljava/lang/String;)Ljava/lang/Stri
|
|||
value = null;
|
||||
break;
|
||||
case "fileconn.dir.memorycard":
|
||||
value = "file:///MemoryCard/";
|
||||
value = "file:////";
|
||||
break;
|
||||
case "fileconn.dir.private":
|
||||
value = "file:////";
|
||||
|
|
|
@ -62,7 +62,7 @@ var gfxTests = [
|
|||
];
|
||||
|
||||
var expectedUnitTestResults = [
|
||||
{ name: "pass", number: 71537 },
|
||||
{ name: "pass", number: 71536 },
|
||||
{ name: "fail", number: 0 },
|
||||
{ name: "known fail", number: 180 },
|
||||
{ name: "unknown pass", number: 0 }
|
||||
|
|
Загрузка…
Ссылка в новой задаче