-
-
Notifications
You must be signed in to change notification settings - Fork 925
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Truffle] Initial implementation of Module#autoload.
- 9.4.12.0
- 9.4.11.0
- 9.4.10.0
- 9.4.9.0
- 9.4.8.0
- 9.4.7.0
- 9.4.6.0
- 9.4.5.0
- 9.4.4.0
- 9.4.3.0
- 9.4.2.0
- 9.4.1.0
- 9.4.0.0
- 9.3.15.0
- 9.3.14.0
- 9.3.13.0
- 9.3.12.0
- 9.3.11.0
- 9.3.10.0
- 9.3.9.0
- 9.3.8.0
- 9.3.7.0
- 9.3.6.0
- 9.3.5.0
- 9.3.4.0
- 9.3.3.0
- 9.3.2.0
- 9.3.1.0
- 9.3.0.0
- 9.2.21.0
- 9.2.20.1
- 9.2.20.0
- 9.2.19.0
- 9.2.18.0
- 9.2.17.0
- 9.2.16.0
- 9.2.15.0
- 9.2.14.0
- 9.2.13.0
- 9.2.12.0
- 9.2.11.1
- 9.2.11.0
- 9.2.10.0
- 9.2.9.0
- 9.2.8.0
- 9.2.7.0
- 9.2.6.0
- 9.2.5.0
- 9.2.4.1
- 9.2.4.0
- 9.2.3.0
- 9.2.2.0
- 9.2.1.0
- 9.2.0.0
- 9.1.17.0
- 9.1.16.0
- 9.1.15.0
- 9.1.14.0
- 9.1.13.0
- 9.1.12.0
- 9.1.11.0
- 9.1.10.0
- 9.1.9.0
- 9.1.8.0
- 9.1.7.0
- 9.1.6.0
- 9.1.5.0
- 9.1.4.0
- 9.1.3.0
- 9.1.2.0
- 9.1.1.0
- 9.1.0.0
- 9.0.5.0
- 9.0.4.0
- 9.0.3.0
- 9.0.1.0
- 9.0.0.0
- 9.0.0.0.rc2
- 9.0.0.0.rc1
- 9.0.0.0.pre2
Showing
6 changed files
with
94 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,18 @@ | ||
fails:Module#autoload? returns the name of the file that will be autoloaded | ||
fails:Module#autoload? returns nil if no file has been registered for a constant | ||
fails:Module#autoload registers a file to load the first time the named constant is accessed | ||
fails:Module#autoload sets the autoload constant in the constants table | ||
fails:Module#autoload loads the registered constant when it is accessed | ||
fails:Module#autoload loads the registered constant into a dynamically created class | ||
fails:Module#autoload loads the registered constant into a dynamically created module | ||
fails:Module#autoload loads the registered constant when it is opened as a class | ||
fails:Module#autoload loads the registered constant when it is opened as a module | ||
fails:Module#autoload loads the registered constant when it is inherited from | ||
fails:Module#autoload loads the registered constant when it is included | ||
fails:Module#autoload does not load the file when the constant is already set | ||
fails:Module#autoload loads a file with .rb extension when passed the name without the extension | ||
fails:Module#autoload does not load the file if the file is manually required | ||
fails:Module#autoload ignores the autoload request if the file is already loaded | ||
fails:Module#autoload retains the autoload even if the request to require fails | ||
fails:Module#autoload allows multiple autoload constants for a single file | ||
fails:Module#autoload runs for an exception condition class and doesn't trample the exception | ||
fails:Module#autoload does not load the file when refering to the constant in defined? | ||
fails:Module#autoload does not remove the constant from the constant table if load fails | ||
fails:Module#autoload does not remove the constant from the constant table if the loaded files does not define it | ||
fails:Module#autoload returns 'constant' on refering the constant with defined?() | ||
fails:Module#autoload does not load the file when removing an autoload constant | ||
fails:Module#autoload does not load the file when accessing the constants table of the module | ||
fails:Module#autoload loads the file when opening a module that is the autoloaded constant | ||
fails:Module#autoload loads the file that defines subclass XX::YY < YY and YY is a top level constant | ||
fails:Module#autoload looks up the constant in the scope where it is referred | ||
fails:Module#autoload looks up the constant when in a meta class scope | ||
fails:Module#autoload does NOT raise a NameError when the autoload file did not define the constant and a module is opened with the same name | ||
fails:Module#autoload calls #to_path on non-string filenames | ||
fails:Module#autoload raises an ArgumentError when an empty filename is given | ||
fails:Module#autoload shares the autoload request across dup'ed copies of modules | ||
fails:Module#autoload raises a TypeError if opening a class with a different superclass than the class defined in the autoload file | ||
fails:Module#autoload raises a TypeError if not passed a String or object respodning to #to_path for the filename | ||
fails:Module#autoload calls #to_path on non-String filename arguments | ||
fails:Module#autoload on a frozen module raises a RuntimeError before setting the name | ||
fails:Module#autoload (concurrently) blocks a second thread while a first is doing the autoload | ||
fails:Module#autoload when changing $LOAD_PATH does not reload a file due to a different load path | ||
fails:Module#autoload (concurrently) blocks others threads while doing an autoload | ||
fails:Module#autoload does not call Kernel#require or Kernel#load dynamically |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters