Giter Site home page Giter Site logo

java's Introduction

Java

This repository is a holder for stand alone files or very small projects. This was once part of the Miscellaneous repo but was separated to make it easier to have a Java project in Eclipse. Note that the project is currently using JRE 1.8 although it can easily be changed to 1.6.

This repo largely contains code that has no tests and is possibly half finished. The code might have unfinished or buggy functions but every other function worked under my use conditions. Although that's assuming I ran the code at all. A lot of them only need Javadoc and are otherwise done.

#Tests As expected "src" contains the code and "tests" contain the tests. The tests run off of junit-4.11 with hamcrest-all-1.3. It doesn't make sense to test an interface except for default and static methods. I do not make tests for the sake of line coverage and to have a UT for each class. Instead I only make meaningful unit tests: ones that test functionality that have a chance of being wrong. The definition of a bean requires that they do not have functionality.

The unit tests are in the same package as the file being tested (but are in the tests folder instead of src). The tests are named "UT_File.java" where "File" is the name of the class being tested.

The UT_FileToStringAdapter.java requires a few files to run. .gitignore exists for the sole purpose of excluding largeFile.txt because it is larger than 4GB. If you would like to test using the large file, the UT includes a method to recreate it.

#Works in progress

  1. FileToStringAdapter

#Finished but Untested

  1. BasicSetTheory
  2. ComparableSugar
  3. DequeNode
  4. DequeNodeIterator
  5. DescendingListIterator
  6. FileGatherer
  7. IteratorExternal
  8. JsonHelper
  9. JumpingIteratorExternalRandomAccess
  10. LinkedList
  11. ListIteratorExternal
  12. MapEntryExternal
  13. SimpleLogger

#Finished and Tested

  1. JumpingIterator although an interface the static and default methods are tested

#Finished without anything to test

  1. Copyable (interface)
  2. Comparison (enum without functionality)
  3. JumpingIteratorDecoratorSequential (delegates without functionality)
  4. ListIndexOutOfBoundsException (exception class)
  5. ModCountList (interface)
  6. ReadOnlyIterator (delegates without test-worthy functionality)
  7. ReadOnlyListIterator (delegates without test-worthy functionality)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.