Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for JansiStorageLocator (0.26 sec)

  1. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jansi/JansiStorageLocator.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.nativeintegration.jansi;
    
    import java.io.File;
    
    public class JansiStorageLocator {
    
        private JansiLibraryFactory factory = new JansiLibraryFactory();
    
        void setFactory(JansiLibraryFactory factory) {
            this.factory = factory;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/jansi/JansiBootPathConfigurer.java

    import java.io.IOException;
    import java.io.InputStream;
    
    public class JansiBootPathConfigurer {
        private static final String JANSI_LIBRARY_PATH_SYS_PROP = "library.jansi.path";
        private final JansiStorageLocator locator = new JansiStorageLocator();
    
        /**
         * Attempts to find the Jansi library and copies it to a specified folder.
         * The copy operation happens only once. Sets the Jansi-related system property.
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/jansi/JansiStorageLocatorTest.groovy

    import spock.lang.Specification
    
    class JansiStorageLocatorTest extends Specification {
    
        @Rule
        final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        def locator = new JansiStorageLocator()
        def factory = Mock(JansiLibraryFactory)
    
        def setup() {
            locator.factory = factory
        }
    
        def "provides storage information if jansi library can be resolved"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top