Skip to content

Commit

Permalink
snaploader-examples: applied API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pavly-gerges committed Jul 25, 2024
1 parent 5b65faf commit 583af13
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 30 deletions.
10 changes: 5 additions & 5 deletions snaploader-examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ plugins {
}

application {
mainClass = 'com.avrsandbox.snaploader.examples.TestBasicFeatures'
mainClass = 'electrostatic.snaploader.examples.TestBasicFeatures'
}

tasks.register("TestBasicFeatures") {
application.mainClass = 'com.avrsandbox.snaploader.examples.TestBasicFeatures'
application.mainClass = 'electrostatic.snaploader.examples.TestBasicFeatures'
}

tasks.register("TestMultipleLoads") {
application.mainClass = 'com.avrsandbox.snaploader.examples.TestMultipleLoads'
application.mainClass = 'electrostatic.snaploader.examples.TestMultipleLoads'
}

tasks.register("TestZipExtractor") {
application.mainClass = 'com.avrsandbox.snaploader.examples.TestZipExtractor'
application.mainClass = 'electrostatic.snaploader.examples.TestZipExtractor'
}

tasks.register("TestMultiThreading") {
application.mainClass = 'com.avrsandbox.snaploader.examples.TestMultiThreading'
application.mainClass = 'electrostatic.snaploader.examples.TestMultiThreading'
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, AvrSandbox, jSnapLoader
* Copyright (c) 2023-2024, The Electrostatic-Sandbox Distributed Simulation Framework, jSnapLoader
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -29,17 +29,18 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.avrsandbox.snaploader.examples;

package electrostatic.snaploader.examples;

import java.io.IOException;

import com.avrsandbox.snaploader.LibraryInfo;
import com.avrsandbox.snaploader.NativeBinaryLoader;
import com.avrsandbox.snaploader.platform.util.DefaultDynamicLibraries;
import com.avrsandbox.snaploader.platform.NativeDynamicLibrary;
import com.avrsandbox.snaploader.platform.util.NativeVariant;
import com.avrsandbox.snaploader.platform.util.PropertiesProvider;
import com.avrsandbox.snaploader.LoadingCriterion;
import electrostatic.snaploader.LibraryInfo;
import electrostatic.snaploader.NativeBinaryLoader;
import electrostatic.snaploader.platform.util.DefaultDynamicLibraries;
import electrostatic.snaploader.platform.NativeDynamicLibrary;
import electrostatic.snaploader.platform.util.NativeVariant;
import electrostatic.snaploader.platform.util.PropertiesProvider;
import electrostatic.snaploader.LoadingCriterion;

/**
* Tests basic features of the {@link NativeBinaryLoader} API.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, AvrSandbox, jSnapLoader
* Copyright (c) 2023-2024, The Electrostatic-Sandbox Distributed Simulation Framework, jSnapLoader
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -29,16 +29,17 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.avrsandbox.snaploader.examples;

package electrostatic.snaploader.examples;

import java.io.IOException;
import java.util.Arrays;

import com.avrsandbox.snaploader.LoadingCriterion;
import com.avrsandbox.snaploader.ConcurrentNativeBinaryLoader;
import com.avrsandbox.snaploader.UnSupportedSystemError;
import com.avrsandbox.snaploader.platform.util.DefaultDynamicLibraries;
import com.avrsandbox.snaploader.platform.NativeDynamicLibrary;
import electrostatic.snaploader.LoadingCriterion;
import electrostatic.snaploader.ConcurrentNativeBinaryLoader;
import electrostatic.snaploader.UnSupportedSystemError;
import electrostatic.snaploader.platform.util.DefaultDynamicLibraries;
import electrostatic.snaploader.platform.NativeDynamicLibrary;

/**
* Tests multi-threading and thread locks.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, AvrSandbox, jSnapLoader
* Copyright (c) 2023-2024, The Electrostatic-Sandbox Distributed Simulation Framework, jSnapLoader
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -29,7 +29,8 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.avrsandbox.snaploader.examples;

package electrostatic.snaploader.examples;

import java.io.File;
import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2023, AvrSandbox, jSnapLoader
* Copyright (c) 2023-2024, The Electrostatic-Sandbox Distributed Simulation Framework, jSnapLoader
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -29,15 +29,16 @@
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.avrsandbox.snaploader.examples;

package electrostatic.snaploader.examples;

import java.io.IOException;

import com.avrsandbox.snaploader.filesystem.ExtractionListener;
import com.avrsandbox.snaploader.filesystem.FileExtractor;
import com.avrsandbox.snaploader.filesystem.FileLocator;
import com.avrsandbox.snaploader.filesystem.ZipCompressionType;
import com.avrsandbox.snaploader.platform.util.PropertiesProvider;
import electrostatic.snaploader.filesystem.ExtractionListener;
import electrostatic.snaploader.filesystem.FileExtractor;
import electrostatic.snaploader.filesystem.FileLocator;
import electrostatic.snaploader.filesystem.ZipCompressionType;
import electrostatic.snaploader.platform.util.PropertiesProvider;

/**
* Tests extracting an image compression from a Zip compression type filesystem using {@link FileExtractor} API.
Expand Down

0 comments on commit 583af13

Please sign in to comment.