History log of /external/autotest/frontend/client/src/autotest/afe/TestSelector.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
1043809018daa39812a64805c04456ce7b706d08 24-Jun-2015 Matthew Sartori <msartori@chromium.org> [autotest] Fixes for 'Create Job' page when using 'Fetch Tests from Build'

'Fetch Tests from Build' correctly populated the test selector with
the tests supported by the provided image, however, when communicating
with the backend, default test information from the database was being
used. This resulted in the wrong control file being used for the
selected test. In addition, the get_tests_by_build rpc reponse was
missing information required by certain AFE functions, this resulted
in the auto-selection for hostless jobs to break when fetching tests
for an image.

This CL makes it so that when tests are fetched for a particular image,
client state describing the control file is used to find/build
the control file rather than pulling from the default test database.
It also corrects the get_tests_by_build rpc so that the missing
attributes are provided.

BUG=chromium:503385,chromium:503731
DEPLOY=afe
TEST=Tested changes on a moblab.

Change-Id: I54739a4bb6e96cd2517ea59dc0a937d0d81cc000
Reviewed-on: https://chromium-review.googlesource.com/281760
Tested-by: Matthew Sartori <msartori@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Matthew Sartori <msartori@chromium.org>
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
d96fb9b34a65661008adab39b5ca998844ec7543 20-May-2015 Matthew Sartori <msartori@chromium.org> [autotest] Display only tests supported by build

The 'Create Job' tab was updated so that an 'Update Tests'
button was placed next to the entry for the image URL.

With this change, pressing the 'Update Tests' button when
a valid build is specified updates the test selection to
only contain tests that are specified in that image.

BUG=chromium:486221
DEPLOY=afe
TEST=Tested changes on a panther moblab.

Change-Id: I9817c3939c9454e7e2b558fa525496cc201fa03a
Reviewed-on: https://chromium-review.googlesource.com/272285
Reviewed-by: Dan Shi <dshi@chromium.org>
Tested-by: Matthew Sartori <msartori@chromium.org>
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Aviv Keshet <akeshet@chromium.org>
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
ad57645f1fd54b398a386fe184f5c47a91ddb1a3 10-Jun-2014 Jiaxi Luo <jiaxiluo@chromium.org> [autotest] Add test name filter on Create Job Tab on AFE.

Based on user feedback from partners, finding a specific test to run
by scrolling is really troublesome. Hence I added a textbox on the top of
test table to filter the test name.

BUG=chromium:382344
DEPLOY=afe,apache
TEST=ran afe, ran Create Job tab, typed in some text in the filter

Change-Id: I9583bc0c738aa135bf01a7e66706920883aadf08
Reviewed-on: https://chromium-review.googlesource.com/203088
Reviewed-by: Simran Basi <sbasi@chromium.org>
Commit-Queue: Jiaxi Luo <jiaxiluo@chromium.org>
Tested-by: Jiaxi Luo <jiaxiluo@chromium.org>
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
6f27d4f22a1ba5063968b8c322fa0845f3279ade 29-Sep-2010 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into tempbranch3

Merge to trunk@4817

BUG=
TEST=

Review URL: http://codereview.chromium.org/3554003

Change-Id: I83376bc7d28104ec2678e157eadbe7df7c05c0e0
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
517d95a1ef4edb04da427763f86068a447d45ec7 29-Sep-2010 Benson Leung <bleung@chromium.org> Revert "Merge remote branch 'cros/upstream' into tempbranch2"

This reverts commit 25fc6d1f28e54c46689f12d3b93c2540ef45323a.

TBR=ericli@chromium.org

Review URL: http://codereview.chromium.org/3541002

Change-Id: Ib0165b19bfdf02264f8a6a74ddf3ae74c8c0f7df
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
25fc6d1f28e54c46689f12d3b93c2540ef45323a 29-Sep-2010 Eric Li <ericli@chromium.org> Merge remote branch 'cros/upstream' into tempbranch2

Merged to trunk@4816.

BUG=
TEST=we will build a new autotest server instance, and keep cautotest running and then later do a cname switch.

Review URL: http://codereview.chromium.org/3511003

Change-Id: Iee5f52f45f28f84927d6c6f9a74edc370d40288a
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
4cd4763a855d8eb7d25fd4963babc432eb4d25e6 12-Oct-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Remove deprecated uses of TableListener, and implement proper
oncontextmenu handling

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3828 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
0d92da0fe19a095fc5678c4159e6a1756df65e48 17-Sep-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Removed deprecated ChangeListener uses.

(Depends on [PATCH] Removed the uses of some deprecated classes)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3737 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
907f2159b2605a4b330ee76dbafc99c8bda4bca0 28-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> AFE Create Job now runs tests in the order in which they were selected.

Risk: low
Visibility: low

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3455 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
3ed34fd6fa69b0d1faba7b67ab32225b63b64781 06-Jul-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Expand the test name column in the AFE Create Job tests list to fit the
table, if the test names are all too short to reach the end of the table
column.

Risk: low
Visibility: medium (UI bug fix)

Signed-off-by: James Ren <jamesren@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3371 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
529cdf3a9bd5d6c8f29d18a00ce3229880b9e4c2 07-Feb-2009 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix two typos, one just a UI typo and one an actual bug due to an incorrect field name that was breaking the test selector.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2767 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
97db5ba6cdee21d706dff3d1a85c354c8bfae6f9 12-Nov-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Add a user preference for showing experimental tests, disabled by default, and add code to obey it in TestSelector.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2406 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
2bab8f45adedeacbf2d62d37b90255581adc3c7d 12-Nov-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Implement sync_count. The primary change here is replacing the job.synch_type field with a synch_count field. There is no longer just a distinction between synchronous and asynchronous jobs. Instead, every job as a synch_count, with synch_count = 1 corresponding to the old concept of synchronous jobs. This required:
-changes to the job creation RPC and corresponding client code in AFE and the CLI
-massive changes to the scheduler to schedule all jobs in groups based on synch_count (this unified the old synch and async code paths)
-changed results directory structure to accomodate synchronous groups, as documented at http://autotest.kernel.org/wiki/SchedulerSpecification, including widespread changes to monitor_db and a change in AFE
-changes to AFE abort code to handle synchronous groups instead of just synchronous jobs
-also got rid of the "synchronizing" field in the jobs table, since I was changing the table anyway and it seems very likely now that that field will never be used

other changes included:
-add some logging to afe/models.py to match what the scheduler code does, since the scheduler is starting to use the models more
-added checks for aborts of synchronous groups to abort_host_queue_entries RPC



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2402 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
51eb7f2424fb18ee15ff8eef8372d2d6a4d5b1e5 11-Nov-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Disable test type selector when "edit control file" mode is entered.



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2400 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
1a9eaa51c52c10953e3d296a7b529126eab2862e 23-Oct-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Fix the test selector in AFE create job view.
-make TestSelector handle null DB values more gracefully
-include a previous change from number -> boolean that got left behind


git-svn-id: http://test.kernel.org/svn/autotest/trunk@2329 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java
8579ea343f8d4c74b44d5b5cb2df3ef7552b2f6e 18-Aug-2008 showard <showard@592f7852-d20e-0410-864c-8624ca9c26a4> Snazzy new interface for select tests in Create Job view. Tests are now presented in a scrollable table, with descriptions displayed in a resizable pane on the right.
-new TestSelector widget displays table + description
-move some basic input handling from DynamicTable into DataTable, so that plain DataTables can handle clicks
-make DataTable capable of refreshing the widgets in a table without refreshing the entire table - this is useful for updating selections
-pull out the one bit of SelectionManager that depends on DynamicTable (as opposed to DataTable). This is now in DynamicTableSelectionManager, and the orignal SelectionManager can work with a plain DataTable.
-make SelectionManager capable of acting as the TableWidgetFactory for producing row selection checkboxes
-fix a couple minor bugs in (Site)CreateJobView, where some controls (skip verify, custom tests) would not be disabled when they should be
-pull out ArrayDataSource.JSONObjectComparator into a top-level class, so it could be used elsewhere to sort JSONObjects



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2004 592f7852-d20e-0410-864c-8624ca9c26a4
/external/autotest/frontend/client/src/autotest/afe/TestSelector.java