- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for createTestDirectory (0.15 sec)
-
src/test/java/jcifs/tests/FileOperationsTest.java
long length = 4096 * 16 + 512; try ( SmbFile f = createTestDirectory(); SmbResource e = new SmbFile(f, "test") ) { e.createNewFile(); try ( OutputStream os = e.openOutputStream() ) { ReadWriteTest.writeRandom(bufSize, length, os); } try ( SmbFile d1 = createTestDirectory(); SmbFile t = new SmbFile(d1, makeRandomName()) ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:17:59 UTC 2023 - 16.3K bytes - Viewed (0) -
src/test/java/jcifs/tests/EnumTest.java
} } } @Test public void testDirEnum () throws CIFSException, MalformedURLException, UnknownHostException { try ( SmbFile f = createTestDirectory() ) { try ( SmbFile a = new SmbFile(f, "a"); SmbFile b = new SmbFile(f, "b"); SmbFile c = new SmbFile(f, "c") ) { a.createNewFile();
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Jan 05 13:09:03 UTC 2023 - 25.5K bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
tempDirYAML := createTestDirectory(t, map[string]string{ "valid.yaml": validYAML, "invalid.yaml": invalidYAML, "warning.yaml": warningsYAML, "invalidYAML.yaml": invalidYAML, }) validTempDirYAML := createTestDirectory(t, map[string]string{ "valid.yaml": validYAML, }) tempDirJSON := createTestDirectory(t, map[string]string{ "valid.json": validJSON,
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Aug 02 16:18:14 UTC 2024 - 21.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/BaseCIFSTest.java
SmbFile f = new SmbFile(defaultShareRoot, makeRandomName()); f.createNewFile(); return f; } } protected SmbFile createTestDirectory () throws MalformedURLException, UnknownHostException, CIFSException { try ( SmbFile defaultShareRoot = getDefaultShareRoot() ) { SmbFile f = new SmbFile(defaultShareRoot, makeRandomDirectoryName());
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/tests/NamingTest.java
runFilenameTest("hash#tag"); } private void runFilenameTest ( String... names ) throws CIFSException, UnknownHostException, MalformedURLException { try ( SmbFile d = createTestDirectory() ) { try { for ( String name : names ) { try ( SmbResource tf = new SmbFile(d, name) ) { tf.createNewFile(); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Jun 06 10:48:05 UTC 2020 - 7K bytes - Viewed (0) -
src/test/java/jcifs/tests/WatchTest.java
} @Override @Before public void setUp () throws Exception { super.setUp(); this.executor = Executors.newSingleThreadExecutor(); this.base = createTestDirectory(); } @Override @After public void tearDown () throws Exception { if ( this.executor != null ) { this.executor.shutdown(); if ( this.future != null ) {
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 8.4K bytes - Viewed (0)