Søren Gjesse | 7320ce5 | 2018-05-07 15:45:22 +0200 | [diff] [blame] | 1 | // 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 | |
| 8 | package dataresource; |
| 9 | |
| 10 | import dataresource.lib.LibClass; |
| 11 | import java.io.IOException; |
| 12 | |
| 13 | public 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 | } |