summaryrefslogtreecommitdiffstats
path: root/dx/tests/008-field
diff options
context:
space:
mode:
Diffstat (limited to 'dx/tests/008-field')
-rw-r--r--dx/tests/008-field/expected.txt30
-rw-r--r--dx/tests/008-field/info.txt7
-rw-r--r--dx/tests/008-field/run17
-rw-r--r--dx/tests/008-field/small-class.txt34
4 files changed, 0 insertions, 88 deletions
diff --git a/dx/tests/008-field/expected.txt b/dx/tests/008-field/expected.txt
deleted file mode 100644
index 9e3bcaf1c..000000000
--- a/dx/tests/008-field/expected.txt
+++ /dev/null
@@ -1,30 +0,0 @@
-reading small-class.txt...
-begin classfile
-magic: cafebabe
-minor_version: 0000
-major_version: 002e
-constant_pool_count: 0007
-
-constant_pool:
- 0001: utf8{"Small"}
- 0002: utf8{"java/lang/Object"}
- 0003: type{Small}
- 0004: type{java.lang.Object}
- 0005: utf8{"foo"}
- 0006: utf8{"I"}
-end constant_pool
-access_flags: public|super
-this_class: type{Small}
-super_class: type{java.lang.Object}
-interfaces_count: 0000
-fields_count: 0001
-
-fields[0]:
- access_flags: public|private|protected|static|final|volatile|transient|synthetic|enum|af20
- name: foo
- descriptor: I
- attributes_count: 0000
-end fields[0]
-methods_count: 0000
-attributes_count: 0000
-end classfile
diff --git a/dx/tests/008-field/info.txt b/dx/tests/008-field/info.txt
deleted file mode 100644
index 0b8e92f3f..000000000
--- a/dx/tests/008-field/info.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-This is a dump of a simple class which is valid in structure but is overall
-invalid. That being said, the system should still have no trouble parsing and
-dumping it.
-
-The salient bit of parsing tested here is that the class has a single
-simple field with no attributes and with every access flag turned on
-(so that the names can be verified in debugging output).
diff --git a/dx/tests/008-field/run b/dx/tests/008-field/run
deleted file mode 100644
index 1c759d60f..000000000
--- a/dx/tests/008-field/run
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-#
-# Copyright (C) 2007 The Android Open Source Project
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-dx --debug --dump --width=200 small-class.txt
diff --git a/dx/tests/008-field/small-class.txt b/dx/tests/008-field/small-class.txt
deleted file mode 100644
index 81eb16436..000000000
--- a/dx/tests/008-field/small-class.txt
+++ /dev/null
@@ -1,34 +0,0 @@
-#
-# sample small-but-valid classfile
-#
-
-cafe babe # magic
-0000 # minor_version
-002e # major_version
-0007 # constant_pool_count
-
-#
-# constant_pool
-#
-01 0005 "Small" # 0001: utf8["Small"]
-01 0010 "java/lang/Object" # 0002: utf8["java/lang/Object"]
-07 0001 # 0003: class[Small]
-07 0002 # 0004: class[java/lang/Object]
-01 0003 "foo" # 0005: utf8["foo"]
-01 0001 "I" # 0006: utf8["I"]
-
-0021 # access_flags
-0003 # this_class
-0004 # super_class
-0000 # interfaces_count
-
-0001 # fields_count
-
-# fields[0]
-ffff # access_flags
-0005 # name
-0006 # descriptor
-0000 # attributes_count
-
-0000 # methods_count
-0000 # attributes_count