blob: bb63826d8b7ba106cdb58e23c457e2e24f29d450 [file] [log] [blame]
Søren Gjesse7320ce52018-05-07 15:45:22 +02001// Copyright (c) 2018, the R8 project authors. Please see the AUTHORS file
2// for details. All rights reserved. Use of this source code is governed by a
3// BSD-style license that can be found in the LICENSE file.
4
5// This code is not run directly. It needs to be compiled to dex code.
6// 'arithmetic.dex' is what is run.
7
8package dataresource;
9
10import dataresource.lib.LibClass;
11import java.io.IOException;
12
13public class ResourceTest {
14 public static void main(String[] args) throws IOException {
15 System.out.println("LibClass dir: " + (LibClass.getThisDir() != null));
16 System.out.println("LibClass properties: " + (LibClass.getLibClassProperties() != null));
17 System.out.println("LibClass property: " + LibClass.getLibClassProperty());
18 System.out.println("LibClass text: " + LibClass.getText());
19 System.out.println("LibClass const string: " + LibClass.getConstString());
20 System.out.println("LibClass concat string: " + LibClass.getConcatConstString());
21 System.out.println("LibClass field: " + LibClass.getConstField());
22 }
23}